package net.wavorizer.model;

import net.wavorizer.util.Utils;

import javax.jdo.annotations.*;
import java.util.Date;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class BotRemoval
{
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;

    @Persistent
    private Date removalDate;

    @Persistent
    private String removedBy;

    @Persistent
    private String waveId;

    @Persistent
    private String waveletId;

    public Long getId() {
        return id;
    }

    public Date getRemovalDate() {
        return removalDate;
    }

    public void setRemovalDate(Date removalDate) {
        this.removalDate = removalDate;
    }

    public String getRemovedBy() {
        return Utils.remNull(removedBy);
    }

    public void setRemovedBy(String removedBy) {
        this.removedBy = removedBy;
    }

    public String getWaveId() {
        return Utils.remNull(waveId);
    }

    public void setWaveId(String waveId) {
        this.waveId = waveId;
    }

    public String getWaveletId() {
        return Utils.remNull(waveletId);
    }

    public void setWaveletId(String waveletId) {
        this.waveletId = waveletId;
    }
}
